﻿using FileSystem.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileSystem.impl.Commands
{
    class ExtendedAction : ICommand
    {
        IAction action;

        public ExtendedAction(IAction action)
        {
            this.action = action;
        }

        public IResult execute()
        {
           return action.execute();
        }

        public void undo()
        {
        }

        public IResult redo()
        {
            return new Result("");
        }

        public String describe(IPrintContext context)
        {
            return "";
        }

    }
}
